package com.treasure.mall.biz.service.core.log;


import com.treasure.mall.biz.base.SearchableCrudService;
import com.treasure.mall.biz.dto.user.ModifyBalanceDTO;
import com.treasure.mall.biz.entity.log.AdvanceLogPO;
import com.treasure.mall.zbq.common.ienum.log.LogDataType;

import java.math.BigDecimal;

/**
 * @author guomw
 * @version 1.0
 * @date 2019/10/19 00:43
 */
public interface AdvanceLogService extends SearchableCrudService<AdvanceLogPO, Long> {
    /**
     * 保存
     *
     * @param advanceLogPO
     * @return
     */
    AdvanceLogPO save(AdvanceLogPO advanceLogPO);

    AdvanceLogPO save(ModifyBalanceDTO modifyBalanceDTO, LogDataType dataType, BigDecimal before, BigDecimal after);
}
